package com.net.tkc.pro.impl;

import com.net.tkc.pro.entity.Collect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CollectImpl {
    int addCollect(@Param("Collect") Collect Collect);//添加记录
    int delCollect(int id);//删除记录
    List<Collect> getPostList(int uid);
    List<Collect> getUserList(int pid);//获取列表
}
